package com.lsb.blog.service;

import com.lsb.blog.pojo.Comment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lsb.blog.response.Result;
import com.lsb.blog.vo.CommentVo;
import com.lsb.blog.vo.params.CommentParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liusibo
 * @since 2021-08-05
 */
public interface CommentService extends IService<Comment> {
    //文章评论列表
    List<CommentVo> commentsByArticleId(Long articleId);
    //评论
    Result comment(CommentParam commentParam);
}
